import request from '@/utils/request';

//热门资讯
export function getHotNews(data) {
  return request({
    url: '/index/hotNews',
    method: 'post',
    data: data,
  });
}

//热门资讯详情
export function getNewsDetail(data) {
  return request({
    url: '/index/newsDetail',
    method: 'post',
    data: data,
  });
}
